<!-- users/login start-->
<div class="container-fulid login-page">
    <div class="login-main">
            <div class="row">
                    <form name="user" (ngSubmit)="login(f.value)" #f="ngForm">
                        <div class="col-md-5">
                            <div class="login-part">
                                <span class="lg-icon fa fa-user"> </span>
                                <input type="text" id="account" name="account" autocomplete="off" (focus)="isActiveAccount = true" (blur)="isActiveAccount = false" [(ngModel)]="user.account">
                                <span class="botton-line" [ngClass]="{'active-line':isActiveAccount}"></span>
                            </div>
                        </div>
                        <div class="col-md-5">
                            <div class="login-part">
                                <span class="lg-icon fa fa-lock"> </span>
                                <input type="password" id="password" name="password"  autocomplete="off" (focus)="isActivePwd = true" (blur)="isActivePwd = false" [(ngModel)]="user.password">
                                <span class="botton-line" [ngClass]="{'active-line':isActivePwd}"></span>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <button  class="button button--antiman login-submit" type="submit">登陆</button>
                        </div>
                        <div class="col-md-12">
                            <div class="tips">
                                <div class="resp-msg" *ngIf="msg" [ngClass]="{'alert-danger':state!=1,'alert-success':state==1}">{{msg}}</div>
                            </div>
                        </div>
                    </form>
            </div>
    </div>
</div>
<!-- users/login end -->